import { http } from '@/utils/http'
import type { categoryListItem } from '@/types/category'

// 请求热门板块数据
export const getCategoryListApi = () => {
  return http<categoryListItem[]>({
    url: '/category/top',
  })
}
